Prosecutor warns of dangerous homemade gun manufacturing in Ballarat: court