WA courts would have new powers to forcibly put repeat adult and juvenile drug offenders into rehabilitation, under controversial laws proposed by the Liberals.