The boss of a scaffolding company illegally obtained £100,000 in loans during the Covid pandemic, a court heard.