Gordon Brown is preparing to override the views of his own expert advisers and tighten the law on cannabis.